error CS1011: 空の文字リテラルです。
code:csharp
str.Replace('-', '');
引数が2つあった
char, charだと空を入れられない、string, stringを使う